package org.lora.biz.ou.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.lora.biz.ou.entity.Position;
import org.lora.biz.ou.entity.PositionExample;
import org.lora.biz.workflow.annotation.RunTimeResource;
import org.lora.core.mybatis.Page;

@RunTimeResource
public interface PositionMapper {
    int countByExample(PositionExample example);

    int deleteByExample(PositionExample example);

    int insert(Position record);

    int insertSelective(Position record);

    List<Position> selectByExample(@Param("example")PositionExample example,@Param("page") Page page);

    int updateByExampleSelective(@Param("record") Position record, @Param("example") PositionExample example);

    int updateByExample(@Param("record") Position record, @Param("example") PositionExample example);
}